﻿<Window x:Class="SimpleControlLibrary.UI.AddDescriptionWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Title="添加描述" Height="415" Width="572" WindowStartupLocation="CenterScreen" KeyDown="DxWindowKeyDown">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="8*"/>
            <RowDefinition Height="2*"/>
        </Grid.RowDefinitions>
        <ScrollViewer HorizontalScrollBarVisibility="Auto">
            <Grid Name="grid">
                <Grid.RowDefinitions>
                    <RowDefinition Height="33"/>
                    <RowDefinition Height="35"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="5*"/>
                    <ColumnDefinition Width="5*"/>
                </Grid.ColumnDefinitions>
                <DockPanel Grid.Column="0" Grid.Row="0" >
                    <Label Content="PCHA" Margin="5,5,2,5" MinWidth="75" MaxWidth="75"/>
                    <TextBox Text="1" Margin="0,5,5,5"/>
                </DockPanel>
                <DockPanel Grid.Column="1" Grid.Row="0">
                    <Label Content="列:"/>
                    <TextBox Text="1"/>
                </DockPanel>
            </Grid>
        </ScrollViewer>
       
        <Grid Grid.Row="1" Height="50" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="5*"/>
                <ColumnDefinition Width="5*"/>
            </Grid.ColumnDefinitions>
            <Button Name="BtnSubmit" Margin="5,5,5,5" Content="确定" Click="BtnSubmitClick"/>

            <Button Name="BtnCanel" Margin="5,5,5,5" Grid.Column="1" Content="取消"  Click="BtnCanelClick"/>
        </Grid>
    </Grid>
</Window>
